<?php get_header(); ?>

  <table width="100%"><tbody><tr><td width="1%">
    <div class="posts">

		<?php if (have_posts()) : $full_post = true; ?>

		 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
		<h2 class="pagetitle"><?php single_cat_title(); ?> Entries</h2>
    <p class="pagedesc"><?php echo category_description(); ?></p>

 	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
		<h2 class="pagetitle">Entries from <?php the_time('F jS, Y'); ?></h2>

	 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
		<h2 class="pagetitle">Entries from <?php the_time('F, Y'); ?></h2>

		<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
		<h2 class="pagetitle">Entries from <?php the_time('Y'); ?></h2>

	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
		<h2 class="pagetitle">Entries from this Author</h2>

		<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
		<h2 class="pagetitle">Blog Archives</h2>

		<?php } ?>

<!-- BEGIN AD SPACE -->
<br clear="all" />
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-0204706481106142";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-09-01: jaybowalkin archive top
google_ad_channel = "5382423720";
google_color_border = "F9F9F9";
google_color_bg = "FFFFFF";
google_color_link = "1371D0";
google_color_text = "222222";
google_color_url = "068606";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<!-- END AD SPACE -->

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
		</div>

		<?php while (have_posts()) : the_post(); ?>

        <div class="post<?php echo ($full_post)? " full-post" : "";?>" id="post-<?php the_ID(); ?>">
          <div class="header">
          <table><tbody><tr>
            <td width="1%"><div class="author"><a class="author" href="<?php echo get_author_posts_url($authordata->ID); ?>" title="Written by <?php echo get_the_author(); ?>"><img alt="<?php echo get_the_author(); ?>" class="author" src="<?php if(function_exists('jaybo_profile_get_user_icon')) echo jaybo_profile_get_user_icon($post->post_author); ?>" /></a></div></td>
            <td><div class="meta">
              <h2 class="post_title"><a class="post_title" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
              <div class="post_categories"><?php the_category(','); ?></div>
              <div class="post_date"><?php the_time('F jS, Y') ?> at <? the_time('g:ia'); ?></div>
              </div>
            </td>
          </tr></tbody></table>
          </div>
          <div class="entry">
            <?php 
              if ($full_post) { $full_post = !$full_post; the_content(); } 
              else {  the_excerpt(); }
            ?>
          </div>
         <?php edit_post_link('<strong>Edit</strong>', '<div class="edit">', '</div>'); ?>
         <div class="comments"><?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></div>
        </div>

		<?php endwhile; ?>

<!-- BEGIN AD SPACE -->
<br clear="all" />
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-0204706481106142";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-09-01: jaybowalkin archive bottom
google_ad_channel = "8761805532";
google_color_border = "F9F9F9";
google_color_bg = "FFFFFF";
google_color_link = "1371D0";
google_color_text = "222222";
google_color_url = "068606";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<!-- END AD SPACE -->

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
		</div>

  </div> <!-- end #posts -->
	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>

	<?php endif; ?>

  </td><td>
  <?php get_sidebar('side'); ?>
  </td></tr></tbody></table> <!-- end content -->

<?php get_footer(); ?>
